package cn.felord.debezium.controller;


import cn.felord.debezium.service.ScaleEquipmentMamageService;
import cn.felord.debezium.task.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
@RequestMapping("/api/debezuim")
public class ApiDebezuimController {
    @Autowired
    ScaleEquipmentMamageService scaleEquipmentMamageService;

    @RequestMapping("/updateScaleEquipmentMamage")
    public R updateScaleEquipmentMamage(Long id) throws IOException {
        return scaleEquipmentMamageService.push_update(id);
    }



}
